package com.zt.ztyh.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zt.ztyh.service.ZtyhLevelService;
import com.zt.ztyh.mapper.ZtyhLevelMapper;
import com.zt.ztyh.entity.ZtyhLevel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author JIASC
* @description 针对表【ztyh_level】的数据库操作Service实现
* @createDate 2024-04-02 19:11:21
*/
@Service
public class ZtyhLevelServiceImpl extends ServiceImpl<ZtyhLevelMapper, ZtyhLevel>
    implements ZtyhLevelService{

    @Autowired
    private ZtyhLevelMapper ztyhLevelMapper;

    @Override
    public ZtyhLevel getOneByLevel(Integer level) {
        return ztyhLevelMapper.getOne(level);
    }

}




